import 'package:bookshelf/generated/json/base/json_field.dart';
import 'package:bookshelf/generated/json/find_book_entity.g.dart';
import 'dart:convert';

@JsonSerializable()
class FindBookEntity {

	String? no;
	String? place;
	@JSONField(name: "state_value")
	String? stateValue;
	String? isbn;
	@JSONField(name: "main_title")
	String? mainTitle;
	String? author;
	@JSONField(name: "search_no")
	String? searchNo;
	String? subject;
	String? publisher;
	@JSONField(name: "publish_date")
	String? publishDate;
	double? price;
	String? pages;
	String? rfid;
	dynamic summary;
	@JSONField(name: "cover_base64")
	dynamic coverBase64;
	@JSONField(name: "cover_file_ext")
	dynamic coverFileExt;
	@JSONField(name: "ready_return_date")
	dynamic readyReturnDate;
  
  FindBookEntity();

  factory FindBookEntity.fromJson(Map<String, dynamic> json) => $FindBookEntityFromJson(json);

  Map<String, dynamic> toJson() => $FindBookEntityToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}